<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>12-伪元素选择器使用场景-清除浮动</title>
  <style>

  </style>
</head>

<body>

  <div class="box">
    <div class="box1"></div>
    <div class="box2"></div>
  </div>

</body>

</html>